package main

import "code.study.com/lvhaoran/go-learn/lvhaoran/log_lib/mylogger"

var logger mylogger.Logger

func main() {

	logger = mylogger.NewFileLogger("info", "./", "xxx.log")
	st := "sdasda"

	logger.Debug("日志内容%s", st)
	logger.Info("日志内容%s", st)
	logger.Error("日志内容%s", st)
}
